.class Lcom/waiqin365/lightapp/product/ad;
.super Lcom/waiqin365/lightapp/product/c/h;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;DLandroid/widget/EditText;Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/ad;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;

    invoke-direct {p0, p2, p3, p4, p5}, Lcom/waiqin365/lightapp/product/c/h;-><init>(DLandroid/widget/EditText;Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ad;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->a(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->hasFocus()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->d()I

    move-result v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ad;->a(I)V

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/product/c/h;->afterTextChanged(Landroid/text/Editable;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ad;->b()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ad;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->b(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    const-wide/16 v2, 0x0

    invoke-static {v1, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/g;->a(Ljava/lang/Double;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ad;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;->c(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForJPSB;)V

    goto :goto_0
.end method
